﻿<UserControl x:Class="com.bodurov.CharacterRegionsGenerator.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="450" d:DesignWidth="780">

    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.RowDefinitions>
            <RowDefinition Height="25" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="1*" />
            <ColumnDefinition Width="1*" />
        </Grid.ColumnDefinitions>

        <StackPanel  Grid.Column="0" Grid.Row="0" Grid.ColumnSpan="2" Orientation="Horizontal" Drop="FileDrop" AllowDrop="True">
            <Button Content="Choose File" Click="Button_Click" Width="120" />
            <TextBlock x:Name="FileName" Margin="10 4 0 0" />
        </StackPanel>

        <TextBox x:Name="Result1" Grid.Column="0" Grid.Row="1" AcceptsReturn="True" Drop="FileDrop" AllowDrop="True" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto"></TextBox>
        <TextBox x:Name="Result2" Grid.Column="1" Grid.Row="1" AcceptsReturn="True" Drop="FileDrop" AllowDrop="True" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto"></TextBox>
        
    </Grid>
</UserControl>
